-
Home
-
Leat
-
2.3.0
-
Code
-
Classes
- WebhookManager
| Total Complexity |
91 |
| Dependencies |
7 |
| Dependents |
5 |
| Total lines |
607 |
| Lines of code |
415 |
| Logical lines of code |
232 |
| Comment lines |
69 |
| Methods |
18 |
| Properties |
2 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| ensure_webhooks_installed() |
D |
27 |
33 |
146 |
| sync_webhooks() |
A |
43 |
13 |
48 |
| cleanup_duplicate_webhooks() |
A |
44 |
12 |
45 |
| handle_webhook() |
S |
57 |
6 |
19 |
| get_webhooks() |
S |
52 |
5 |
25 |
| handle_voucher_updated() |
S |
57 |
2 |
19 |
| handle_voucher_created() |
S |
57 |
2 |
19 |
| handle_voucher_deleted() |
S |
57 |
2 |
19 |
| handle_voucher_redeemed() |
S |
57 |
2 |
19 |
| acquire_sync_lock() |
S |
65 |
3 |
9 |
| handle_contact_updated() |
S |
59 |
2 |
15 |
| init() |
S |
67 |
2 |
7 |
| check_webhooks() |
S |
68 |
2 |
7 |
| __construct() |
S |
76 |
1 |
4 |
| install_webhooks() |
S |
82 |
1 |
3 |
| cleanup() |
S |
74 |
1 |
5 |
| release_sync_lock() |
S |
81 |
1 |
3 |
| get_required_webhooks() |
S |
81 |
1 |
3 |